package com.example.administrator.testpersionn.mvp;

import com.example.administrator.out1.mvp.IpModel;
import com.example.administrator.out1.mvp.IpView;
import com.example.administrator.out1.mvp.IpersenterCollBack;

public class Ipresenter implements IpersenterCollBack {
    com.example.administrator.out1.mvp.IpView ipView;
    com.example.administrator.out1.mvp.IpModel ipModel;
    public Ipresenter(IpView ipView) {
        this.ipView = ipView;
        ipModel=new IpModel();
        ipModel.getData(this);
    }

    @Override
    public void getData(String data) {
      ipView.sendTest(data);

    }

    @Override
    public void setData(String data) {

    }


}
